package cn.source.authorizaton.mapper;

import java.util.List;
import cn.source.authorizaton.domain.AuthorizedDevice;

/**
 * authorizatonMapper接口
 * 
 * @author sourcebyte.vip
 * @date 2025-05-31
 */
public interface AuthorizedDeviceMapper 
{
    /**
     * 查询authorizaton
     * 
     * @param authorizerId authorizaton主键
     * @return authorizaton
     */
    public AuthorizedDevice selectAuthorizedDeviceByAuthorizerId(Long authorizerId);

    /**
     * 查询authorizaton列表
     * 
     * @param authorizedDevice authorizaton
     * @return authorizaton集合
     */
    public List<AuthorizedDevice> selectAuthorizedDeviceList(AuthorizedDevice authorizedDevice);

    /**
     * 新增authorizaton
     * 
     * @param authorizedDevice authorizaton
     * @return 结果
     */
    public int insertAuthorizedDevice(List<AuthorizedDevice> authorizedDevices);

    /**
     * 修改authorizaton
     * 
     * @param authorizedDevice authorizaton
     * @return 结果
     */
    public int updateAuthorizedDevice(AuthorizedDevice authorizedDevice);

    /**
     * 删除authorizaton
     * 
     * @param authorizerId authorizaton主键
     * @return 结果
     */
    public int deleteAuthorizedDeviceByAuthorizerId(AuthorizedDevice authorizedDevice);

    /**
     * 批量删除authorizaton
     * 
     * @param authorizerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAuthorizedDeviceByAuthorizerIds(Long[] authorizerIds);
}
